*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}
.box{
    width:498px;
    border: 1px #000 solid;
    margin: auto;
}
.box ul li{
    list-style: none;
    margin: 10px 0;
    display: inline-block;
}
.box ul li a{
    color: #000;
    font-size: 16px;
    padding:10px 30px;
    text-decoration: none;
}
.box ul li a:hover{
    font-weight: 600;
    border-bottom: 2px #f40 solid;
}
.box ul .active{
    padding:10px 0;
    font-weight: 600;
    border-bottom: 2px #f40 solid;
}

.main>.cont{
    padding: 20px;
    display: none;
}
.main>.active{
    display: block;
}
.box .cont a{
    font-size: 14px;
    color: #000;
    text-decoration: none;
}
.box .cont a:hover{
    color: #f40;
}
